package com.pi.config.enumerate;

public enum PartnerConfig {
    WX_MINI_APPID("WX_MINI_APPID", "微信APPID"), WX_MINI_APPSECRET("WX_MINI_APPSECRET", "微信APPSECRET"),

    PUSH_APP_ID("GT_PUSH_APPID", "推送的appId"), PUSH_APP_KEY("GT_PUSH_APP_KEY", "推送的appKey"),
    PUSH_APP_SECRET("GT_PUSH_APP_SECRET", "推送的appSecret"),
    PUSH_MASTER_SECRET("GT_PUSH_MASTER_SECRET", "推送的masterSecret"),

    PARTNER_LOCK_SERVICE("PARTNER_LOCK_SERVICE", "服务商的锁具能力"),

    OPEN_APP_ID("appId", ""), OPEN_APP_KEY("appKey", ""), OPEN_APP_SECRET("appSecret", ""), OPEN_MASTER_SECRET("", ""),

    /**
     * 一次性密码相关的功能
     */
    PARTNER_OTP_TABLE("PARTNER_OTP_TABLE", "一次性密码的密钥");
    ;

    private String config;
    private String desc;

    private PartnerConfig(String config, String desc) {
        this.config = config;
        this.desc = desc;
    }

    public String getConfigName() {
        return config;
    }

    public String getDesc() {
        return desc;
    }
}
